using System;
using System.Collections.Generic;
using System.Text;
using NBusiness.CodeDom;
using NBusiness.Data.Rules;

namespace NBusiness.Data.Rules.Validation
{
    [Serializable]
    public sealed class RegexEventArgs : ValidationEventArgs
    {
        private string _expression;
        
        //[ExpectedArgumentProperty]
        public string Expression
        {
            get { return _expression; }
        }
        
        public RegexEventArgs(string expression)
        {
            _expression = expression;
        }
    }
}
